Skip to content

ci: turn the Renovate PR body into a step-by-step guide - #44

Merged
nicosampler merged 2 commits into
mainfrom
ci/renovate-pr-guide
Sep 2, 2026
Merged

ci: turn the Renovate PR body into a step-by-step guide#44
nicosampler merged 2 commits into
mainfrom
ci/renovate-pr-guide

Conversation

@nicosampler

Copy link
Copy Markdown
Collaborator

Summary

Related to #35.

The note Renovate put on #42 said "run start locally before merging" and left the rest to memory. Verifying a Splice bump is six steps, two of which fail in confusing ways if you run the obvious command, so the reviewer had to remember all of it months apart.

Changes

prBodyNotes is now the full sequence: get the branch, clear what is running, point the local config at the new version, start it, check the probe, add the changeset.

Two steps are there because the obvious command does the wrong thing:

  • init never overwrites an existing config, so without --force you keep testing the old version while believing you tested the new one.
  • Splice sets container_name on all 14 services, so those names are global to Docker rather than scoped to the compose project. A container left by an earlier run stops the start with Conflict. The container name "/postgres" is already in use, which is what happened while checking chore(deps): update dependency canton-network/splice to v0.7.5 #42. The guide now removes those leftovers by name.

Each fenced block is a single prBodyNotes entry, because Renovate puts a blank line between entries and the old note rendered as a code block with gaps between every command.

Acceptance criteria

  • The PR body carries every step, in order, with nothing left to memory
  • The two commands that silently do the wrong thing are called out where they are used
  • Code blocks render without blank lines between commands

Test plan

Automated tests

None. renovate-config-validator passes.

Manual verification

Rendered the notes with the templates filled in and read the result as it will appear on the PR. The container filter was run against a live stack: it matches the 14 Splice containers and nothing else.

Breaking changes

None.

Checklist

  • Self-reviewed my own diff
  • Tests added or updated
  • Docs updated (if applicable)
  • No unrelated changes bundled in

Screenshots

None.

The note said to run start locally and left the rest to memory. It is now
the whole sequence: get the branch, clear what is running, point the local
config at the new version, start it, check the probe, add the changeset.

Two of those steps exist because the obvious command does the wrong thing.
`init` never overwrites an existing config, so without --force the reviewer
tests the old version. And Splice pins container_name on every service, so
those names are global to Docker and a leftover from an earlier run stops
the start with a name conflict.

@pablofullana pablofullana left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@nicosampler
nicosampler merged commit b91ba6b into main Sep 2, 2026
3 checks passed
@nicosampler
nicosampler deleted the ci/renovate-pr-guide branch September 2, 2026 13:44
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Canton - dAppBooster (#390) Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants